<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html>
<head>
    <title></title>
</head>

<body>
<div class="seach">
    <form:form action="" role="form" cssClass="form-inline" method="get" modelAttribute="search">


        <div class="form-group">
            <label for="name" class="sr-only">名称</label>
            <form:input title="名称" path="name" cssClass="form-control"/>
        </div>

        <div class="form-group">
            <label for="itemid" class="sr-only">名称</label>
            <form:select path="itemid">
                <form:option value="">选择</form:option>
                <form:options items="${types}"/>
            </form:select>
        </div>

        <div class="form-group">
            <button class="btn btn-success" type="submit" name="submit"
                    value="search">查询
            </button>
            <button class="btn btn-success" type="submit" name="submit"
                    value="export">导出
            </button>
        </div>

    </form:form>
</div>
<c:import url="../public/sniper_menu.jsp"/>
<table class="table table-hover">
    <thead>
    <tr>
        <th>选择</th>
        <th>企业名称</th>
        <th>信用代码</th>
        <th>来自时间</th>
        <th>部门</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="l" items="${page.lists }">
        <tr id="sl_${l.id}">
            <td><input type="checkbox" name="list.id" value="${l.id}"/></td>
            <td data-type="name"><a
                    href=".${baseHref.adminPath }/admin-jyzx/show?id=${l.id}" target="_blank">${l.entname}</a></td>
            <td data-type="url">${l.regno}</td>
            <td data-type="autoload">${l.noticefrom}</td>
            <td data-type="">${l.regorgname}</td>
        </tr>
    </c:forEach>

    </tbody>
</table>
<div class="meneame">${page.html }</div>
</body>
</html>